package com.sg.zwfw.service;

import com.sg.zwfw.entity.User;

import java.util.List;

public interface UserService {

    public User getUserById(int userId);// 查

    boolean addUser(User record);// 增

    public List<User> list();// 查所有

    public boolean updateByPrimaryKey(User user);

    boolean deleteByPrimaryKey(Integer id);


}
